<?php

namespace App\Http\Controllers\Admin;
use App\Http\Model\Test1;
use App\Http\Model\Test2;
use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class TestController extends Controller
{
    //
    public function zz(){
        $aa=Test1::find(1)->with('fangfa1')->get();
        dd($aa);
        dd($aa[0]->fangfa1->phone);
    }
}
